package statePattern.spring;

import org.springframework.stereotype.Component;

/**
 * @Author : 叶荻风
 * @create : 2024/6/27 17:21
 */
@Component
public class ReviewFail implements IState{
    @Override
    public void doHandler(Response response) {
        if(response.getSignal()==3){
            System.out.println("失败后处理:"+response);
        }else{
            System.out.println("signal 异常，值为:"+response.getSignal());
        }
    }
}
